package com.azusa.ktc_spit.service;



import com.azusa.ktc_spit.entity.Spit;
import org.springframework.data.domain.Page;
import service.BaseService;

import java.util.List;


/**
 * @Description 职位 服务层接口
 * @author Azusa
 * @date 2020-10-10 18:33:43
*/
public interface SpitService  extends BaseService<Spit,String> {

    void add(Spit spit);

    void update(Spit spit);

    List<Spit> findSearch(Spit spit);

    Page<Spit> findSearchPage(int pageNum,int pageSize,Spit spit);

    void thumbUpSpit(String userId, String spitId);

    Page<Spit> findComment(int pageNum, int pageSize, String parentId);
}
